<?php

	session_start();

	include('functions.php');
	
	$congress = obtenerCongress($_SESSION['idcongress']);

	$bgcolor = $congress['BACKGROUND_COLOR'];

?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

	<title><?php echo $congress['NAME']; ?></title>

	<link href="style.css" rel="stylesheet" type="text/css" media="screen" />
	<link href="accordion/style.css" rel="stylesheet" type="text/css" media="screen" />

	<script src="accordion/accordian.pack.js" language="javascript" type="text/javascript">
	</script>

	<style>
		body {
			padding: 0px;
			margin: 0px;
		}
		
		.bodybg {
			background: <?php echo $bgcolor; ?>
			filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='<?php echo $bgcolor; ?>', endColorstr='#FFFFFF');
			background: -webkit-gradient(linear, left top, left bottom, from(<?php echo $bgcolor; ?>), to(#FFFFFF));
			background: -moz-linear-gradient(top,  <?php echo $bgcolor ?>,  #FFFFFF);
			width:100%;
			height: 600px;
		}
	</style>

</head>

<body>

	<div align="center" class="bodybg">

		<?php include('main_header.php'); ?>

		<?php include('botonera.php'); ?>
		
		<?php include('advanced_search_header.php'); ?>
		
		<div id="basic-accordian">
			<form action="abstract_list.php" method="post">
				<input type="hidden" name="advanced" value="advanced" />
				<table bgcolor="#FFFFFF" width="100%"><tr><td><table align="right">
					<tr>
						<td>&nbsp;
							
						</td>
						<td>
							<input type="text" name="search1" style="width: 300px;" />
						</td>
						<td>
							<select name="option1">
								<option value="A.TITLE">By Title</option>
								<option value="S.NAME">By Session</option>
								<option value="A.ABSTRACT_KEYWORDS">By Full Abstract</option>
								<option value="A.PROCEEDING_SEARCH_KEY">By Full Proceeding</option>
							</select>
						</td>
					</tr>
					<tr>
						<td>
							<select name="condition2">
								<option>and</option>
								<option>or</option>
								<option>and not</option>
							</select>
						</td>
						<td>
							<input type="text" name="search2" style="width: 300px;" />
						</td>
						<td>
							<select name="option2">
								<option value="A.TITLE">By Title</option>
								<option value="S.NAME">By Session</option>
								<option value="A.ABSTRACT_KEYWORDS">By Full Abstract</option>
								<option value="A.PROCEEDING_SEARCH_KEY">By Full Proceeding</option>
							</select>
						</td>
					</tr>
					<tr>
						<td>
							<select name="condition3">
								<option>and</option>
								<option selected="selected">or</option>
								<option>and not</option>
							</select>
						</td>
						<td>
							<input type="text" name="search3" style="width: 300px;" />
						</td>
						<td>
							<select name="option3">
								<option value="A.TITLE">By Title</option>
								<option value="S.NAME">By Session</option>
								<option value="A.ABSTRACT_KEYWORDS">By Full Abstract</option>
								<option value="A.PROCEEDING_SEARCH_KEY">By Full Proceeding</option>
							</select>
						</td>
					</tr>
					<tr>
						<td>
							<select name="condition4">
								<option>and</option>
								<option>or</option>
								<option selected="selected">and not</option>
							</select>
						</td>
						<td>
							<input type="text" name="search4" style="width: 300px;" />
						</td>
						<td>
							<select name="option4">
								<option value="A.TITLE">By Title</option>
								<option value="S.NAME">By Session</option>
								<option value="A.ABSTRACT_KEYWORDS">By Full Abstract</option>
								<option value="A.PROCEEDING_SEARCH_KEY">By Full Proceeding</option>
							</select>
						</td>
					</tr>
				</table></td></tr><tr><td></td><td align="right"><input type="submit" value="Search" /></td></tr></table>

			</form>
		</div>
		
	</div>

</body>
</html>
